//系统api
import request from '@/utils/request'

// 获取礼物信息列表
export const getGiftList = (data) =>request({
  url: '/biz/gift/getGiftList',
  method: 'post',
  data
})

// 新建一条礼物配置
export const addGiftConfiguration = (data) =>request({
  url: '/biz/gift/addGiftConfiguration',
  method: 'post',
  data
})

// 删除一条礼物配置
export const deleteGiftConfiguration = (data) =>request({
  url: '/biz/gift/deleteGiftConfiguration',
  method: 'post',
  data
})

// 获取礼物配置列表
export const getGiftConfigurationList = (data) =>request({
  url: '/biz/gift/getGiftConfigurationList',
  method: 'post',
  data
})

// 修改一条礼物配置
export const updateGiftConfiguration = (data) =>request({
  url: '/biz/gift/updateGiftConfiguration',
  method: 'post',
  data
})